<template>
  <div>
    <button @click="bol = !bol">修改bol</button>
    <HmSon v-if="bol"></HmSon>
  </div>
</template>
<script>
import HmSon from '@/components/HmSon.vue'
export default {
  components: {
    HmSon
  },
  data () {
    return {
      bol: true
    }
  }
}
</script>
<style></style>
